package gonz.data.swim;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;

public class OnePiecesSwim extends Swim {
    public OnePiecesSwim(WebDriver webDriver, String imgFolder) {
        super(webDriver, imgFolder, false);
    }
    public OnePiecesSwim(WebDriver webDriver, String imgFolder, boolean ignoreItemNumbers) {
        super(webDriver, imgFolder, ignoreItemNumbers);
    }
    @Override
    public OnePiecesSwim openNextSwim(String imgFolder) {
        webDriver.findElement(By.xpath(NEXT_SWIM_NUMBER_ID)).click();
        return new OnePiecesSwim(webDriver, imgFolder);
    }
}
